package com.kinglian.learn.robot;

public class RobotTaskCatBlack implements RobotTask {

	private String name = "Black cat";
	
	public RobotTaskCatBlack()
	{
		
	}
	
	@Override
	public TaskStatus executeTaskAction() {
		TaskStatus ts = new TaskStatus();
		
		System.out.println("Black cat caught a mouse!");
		ts.setLocation(name);
		ts.setResult("OK");
		
		return ts;
	}

}
